//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package objects;

public class MysteryBox {
  private final int GoodGlobalId;
  private final int GoodAmount;
  private final int UnlockPrice;
  private MysteryBoxState state;
  private boolean lastOpened;
  private boolean lastOpenedFriend;

  public MysteryBox(MysteryBoxState state, int GoodGlobalId, int GoodAmount, int LockedPrice) {
    this.state = state;
    this.GoodGlobalId = GoodGlobalId;
    this.GoodAmount = GoodAmount;
    this.UnlockPrice = LockedPrice;
  }

  public MysteryBoxState state() {
    return this.state;
  }

  public void setState(MysteryBoxState state) {
    this.state = state;
  }

  public int GoodGlobalId() {
    return this.GoodGlobalId;
  }

  public int GoodAmount() {
    return this.GoodAmount;
  }

  public int UnlockPrice() {
    return this.UnlockPrice;
  }

  public boolean getLastOpened() {
    return this.lastOpened;
  }

  public void setLastOpened(boolean val) {
    this.lastOpened = val;
  }

  public boolean getLastOpenedFriend() {
    return this.lastOpenedFriend;
  }

  public void setLastOpenedFriend(boolean val) {
    this.lastOpenedFriend = val;
  }
}
